{extend name='admin@main'}

{block name="button"}

<!-- {if auth("pay")}
<button data-modal='{:url("pay")}' data-title="成为会员" class='layui-btn layui-btn-sm layui-btn-primary'>成为会员</button>
{/if} -->

<!-- {if auth("remove")}
<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除这些信息吗？" action="{:url('department/remove')}" class='layui-btn layui-btn-sm layui-btn-primary'>删除邀请函信息</button>
{/if} -->

{/block}

{block name="content"}
{php}
{//var_dump($list);}
{/php}
	<link href="__ROOT__/static/assets/css/style.css" rel="stylesheet" type="text/css"/>
    <!-- <div style="height:200px;"></div> -->
   <!-- 可删除 -->
   <h1 style="text-align: center;height: 50px;">请在以下选择合适您的套餐</h1>
   <div class="Service-box think-box-shadow">
       <div class="Service-content clearfix" >

{foreach $list as $key=>$vo}

   		<form class="form" method="POST" action="{:url('pay/pay')}" onsubmit="return false" autocomplete="off" enctype="multipart/form-data">
           <a href="javascript:;" class="Service-item" style="margin-left: 6%;">
               <div class="item-image">
                   <img src="__ROOT__/static/assets/img/images/icon-tag00{$key+1}.png" alt="">
               </div>
               <h3 class="item-title">{$vo.title}</h3>
                
             <!--    {if condition="($vo.year neq 0)"}
                    <span class="color-blue">{$vo.money}/{$vo.year|default=''}/年付</span>
                {elseif condition="($vo.month neq 0)"/}
                    <span class="color-blue">{$vo.money}/{$vo.month|default=''}/月付</span>
                {elseif condition="($vo.day neq 0)"/}
                    <span class="color-blue">{$vo.money}/{$vo.day|default=''}/日付</span>
                {else /}
                {/if} -->

                <div class="item-text">
                <span class="color-green font-s16">{$vo.frequency}积分</span>

              </div>

               <!-- <div class="item-text">{$vo.outAppnumber}个接待人</div> -->
                <input class="hidden-input" readonly name="price" value='{$vo.money|default=""}' required class="layui-input">
   			        <input class="hidden-input" readonly name="product_id" value='{$vo.id|default=""}' required class="layui-input">
               <button class="item-link" type="submit" id="sub" name="sub" data-modal='{:url("pay")}?price={$vo.money}&product_id={$vo.id}' >我要支付</button>
   			
           </a>
   		
   		
   		</form>
{/foreach}
<!--    <form class="form" method="POST" action="{:url('pay/pay')}" autocomplete="off" enctype="multipart/form-data">
           <a href="javascript:;" class="Service-item" style="margin-left: 5%;">
               <div class="item-image">
                   <img src="__ROOT__/static/assets/img/images/icon-tag002.png" alt="">
               </div>
                <h3 class="item-title">VIP250/月</h3>
               <div class="item-text">5个接待人</div>
                  			
               <button class="item-link" type="submit" id="sub" name="sub"  data-csrf="{:systoken('pay')}">我要支付</button>
           </a>
		   </form>
		   
		     <form class="form" method="POST" action="{:url('pay/pay')}" autocomplete="off" enctype="multipart/form-data"> 
           <a href="javascript:;" class="Service-item" style="margin-left: 5%;">
               <div class="item-image">
                   <img src="__ROOT__/static/assets/img/images/icon-tag003.png" alt="">
               </div>
               <h3 class="item-title">VIP550/月</h3>
              <div class="item-text">10个接待人</div>
                 			
              <button class="item-link" type="submit" id="sub" name="sub"  data-csrf="{:systoken('pay')}">我要支付</button>
           </a>
		      </form>
		      <form class="form" method="POST" action="{:url('pay/pay')}" autocomplete="off" enctype="multipart/form-data">
           <a href="javascript:;" class="Service-item" style="margin-left: 5%;">
               <div class="item-image">
                   <img src="__ROOT__/static/assets/img/images/icon-tag004.png" alt="">
               </div>
               <h3 class="item-title">VIP950/月</h3>
              <div class="item-text">无限制</div>
                 			
              <button class="item-link" type="submit" id="sub" name="sub"  data-csrf="{:systoken('pay')}">我要支付</button>
           </a>
		      </form> -->
          <!-- <a href="javascript:;" class="Service-item">
               <div class="item-image">
                   <img src="__ROOT__/static/assets/img/images/icon-tag005.png" alt="">
               </div>
               <h3 class="item-title">收钱码</h3>
               <div class="item-text">支付宝最新收钱工具，收钱、提钱均免费</div>
               <div class="item-background">
                   <img src="__ROOT__/static/assets/img/images/icon-tag-bj.png" alt="">
               </div>
               <div class="item-tag">免手续费</div>
               <span class="item-link">我要接入</span>
           </a> -->
       </div>
   </div>

</div>

{/block}
